﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MembershipSetting.ascx.cs"
    Inherits="Admin_System_Controls_MembershipSetting" %>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" DataObjectTypeName="MemberShipPrivoiderManager+MemberShipSetting"
    OldValuesParameterFormatString="original_{0}" SelectMethod="GetCurrentProvider"
    TypeName="MemberShipPrivoiderManager" UpdateMethod="Save"></asp:ObjectDataSource>
<asp:FormView ID="FormView1" runat="server" DataSourceID="ObjectDataSource1" DefaultMode="Edit">
    <EditItemTemplate>
        <p>
            <label>
                ApplicationName:</label>
            <asp:TextBox  ID="ApplicationNameTextBox" runat="server" Text='<%# Bind("ApplicationName") %>' />
        </p>
        <p>
            <label>
                MaxInvalidPasswordAttempts:</label>
            <asp:TextBox  ID="MaxInvalidPasswordAttemptsTextBox" runat="server" Text='<%# Bind("MaxInvalidPasswordAttempts") %>' />
        </p>
        <p>
            <label>
                PasswordAttemptWindow:</label>
            <asp:TextBox  ID="PasswordAttemptWindowTextBox" runat="server" Text='<%# Bind("PasswordAttemptWindow") %>' />
        </p>
        <p>
            <label>
                MinRequiredNonAlphanumericCharacters:</label>
            <asp:TextBox  ID="MinRequiredNonAlphanumericCharactersTextBox" runat="server" Text='<%# Bind("MinRequiredNonAlphanumericCharacters") %>' />
        </p>
        <p>
            <label>
                MinRequiredPasswordLength:</label>
            <asp:TextBox  ID="MinRequiredPasswordLengthTextBox" runat="server" Text='<%# Bind("MinRequiredPasswordLength") %>' />
        </p>
        <p>
            <label>
                PasswordStrengthRegularExpression:</label>
            <asp:TextBox  ID="PasswordStrengthRegularExpressionTextBox" runat="server" Text='<%# Bind("PasswordStrengthRegularExpression") %>' />
        </p>
        <p>
            <label>
                EnablePasswordReset:</label>
            <asp:CheckBox ID="EnablePasswordResetCheckBox" runat="server" Checked='<%# Bind("EnablePasswordReset") %>' />
        </p>
        <p>
            <label>
                EnablePasswordRetrieval:</label>
            <asp:CheckBox ID="EnablePasswordRetrievalCheckBox" runat="server" Checked='<%# Bind("EnablePasswordRetrieval") %>' />
        </p>
        <p>
            <label>
                RequiresQuestionAndAnswer:</label>
            <asp:CheckBox ID="RequiresQuestionAndAnswerCheckBox" runat="server" Checked='<%# Bind("RequiresQuestionAndAnswer") %>' />
        </p>
        <p>
            <label>
                RequiresUniqueEmail:</label>
            <asp:CheckBox ID="RequiresUniqueEmailCheckBox" runat="server" Checked='<%# Bind("RequiresUniqueEmail") %>' />
        </p>
        <p>
            <label>
                PasswordFormat:</label>
            <asp:TextBox  ID="PasswordFormatTextBox" runat="server" Text='<%# Bind("PasswordFormat") %>' />
        </p>
        <p>
            <asp:Button ID="UpdateButton" runat="server" Text="确认" CommandName="Update" CssClass="ui-state-default ui-corner-all"/>            
        </p>
    </EditItemTemplate>
</asp:FormView>
